<?php
namespace app\common\model;

use think\Model;
use think\model\concern\SoftDelete;

class Rechange extends Model
{
	use SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $defaultSoftDelete = 0;
    protected $autoWriteTimestamp = true;

    //获取显示位置
    protected function getStatusAttr($v)
    {
        $status = ['未处理','已充值','驳回','取消'];
        return $status[$v];
    }

}